<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>我的地址-用户中心</title>
<jsp:include page="/base.jsp" />
<meta name="keywords" content="DeathGhost" />
<meta name="description" content="DeathGhost" />
<meta name="author" content="DeathGhost,deathghost@deathghost.cn">
<link rel="icon" href="images/icon/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script src="js/html5.js"></script>
<script src="js/jquery.js"></script>
<script src="js/swiper.min.js"></script>
<script>
	$(document).ready(function() {
		$("nav .indexAsideNav").hide();
		$("nav .category").mouseover(function() {
			$(".asideNav").slideDown();
		});
		$("nav .asideNav").mouseleave(function() {
			$(".asideNav").slideUp();
		});
	});
</script>
</head>
<body>
	<!--header-->
	<header>

		<%@include file="top.jsp"%>


	</header>
	<script>
		$(document).ready(
				function() {
					//测试效果，程序对接如需变动重新编辑
					$(".switchNav li").click(
							function() {
								$(this).addClass("active").siblings()
										.removeClass("active");
							});
					$("#chanpin").click(
							function() {
								$(".inputWrap input[type='text']").attr(
										"placeholder", "输入产品关键词或货号");
							});
					$("#shangjia").click(
							function() {
								$(".inputWrap input[type='text']").attr(
										"placeholder", "输入商家店铺名");
							});
					$("#zixun").click(
							function() {
								$(".inputWrap input[type='text']").attr(
										"placeholder", "输入关键词查找文章内容");
							});
					$("#wenku").click(
							function() {
								$(".inputWrap input[type='text']").attr(
										"placeholder", "输入关键词查找文库内容");
							});
				});
	</script>

	<section class="wrap user_center_wrap">
		<!--左侧导航-->
		<aside class="user_aside_nav">
			<dl>
				<dt>买家中心</dt>
				<dd>
					<a href="order_list">我的订单</a>
				</dd>
				<dd>
					<a href="price_list.html">我的询价单</a>
				</dd>
				<dd>
					<a href="favorite.html">我的收藏</a>
				</dd>
				<dd>
					<a href="address">我的地址库</a>
				</dd>
			</dl>
			<dl>
				<dt>商家管理中心</dt>
				<dd>
					<a href="authenticate.html">我要开店</a>
				</dd>
				<dd>
					<a href="setting.html">店铺设置</a>
				</dd>
				<dd>
					<a href="seller_product_list.html">商品列表</a>
				</dd>
				<dd>
					<a href="seller_order_list.html">订单列表</a>
				</dd>
				<dd>
					<a href="offer_list.html">询价单</a>
				</dd>
			</dl>
			<dl>
				<dt>控制面板</dt>
				<dd>
					<a href="message.html">站内短消息</a>
				</dd>
				<dd>
					<a href="account.html">资金管理</a>
				</dd>
				<dd>
					<a href="profile.html">个人资料</a>
				</dd>
				<dd>
					<a href="change_password.html">修改密码</a>
				</dd>
			</dl>
		</aside>
		<!--右侧：内容区域-->
		<!-- <form action="shop/doaddress"> -->
		<form action="" id="address_table_add">
			<div class="user_rt_cont">
				<div class="top_title">
					<strong>我的地址列表</strong>
				</div>

				<table class="order_table" id="">
					<tr>
						<td width="100" align="right">收件人：</td>
						<td><input type="text" placeholder="输入收件人姓名" class="textbox" name="addName" /></td>
					</tr>
					<tr>
						<td width="100" align="right">联系电话：</td>
						<td><input type="text" placeholder="收件人手机号码" class="textbox" name="addPhone" /></td>
					</tr>
					<tr>
						<td width="100" align="right">收件地址：</td>
						<!-- <td width="100" align="right">省</td>
					<td width="100" align="right">市：</td>
					<td width="100" align="right">区：</td> -->

						<td><select id="area1" name="provinceCode"></select> <select id="area2" name="cityCode"></select> <select id="area3" name="areaCode"></select></td>


					</tr>
					<tr>
						<td width="100" align="right">详细地址：</td>
						<td><input type="text" placeholder="街道门牌号" class="textbox textbox_295" name="addDetails" /></td>
					</tr>
					<tr>
						<td width="100" align="right"></td>
						<td><input type="button" value="更新保存" id="btn_add" class="group_btn" /></td>
					</tr>
				</table>
			
			

			<table class="order_table address_tbl" id="">
				<tr>
					<th width="140">收件人</th>
					<th width="140">联系电话</th>
					<th>收件地址</th>
					<th width="240">操作</th>
				</tr>
				<%--  ${addressList } --%>
				<c:if test="${!empty addressList }">
					<c:forEach items="${addressList }" var="address">
						<tr>
							<td>${address.addName }</td>
							<td>${address.addPhone }</td>
							<td>
								<address>${address.addDetails }</address>
							</td>
							<td><label><input type="radio" name="moren" />设为默认地址</label> <input type="button" value="编辑" class="btn" /> <input type="button" value="删除" class="btn" /></td>
						</tr>
					</c:forEach>
				</c:if>



			</table>
			</div>
		</form>
	</section>
	<!--footer-->
	<footer>
		<!--help-->
		<ul class="wrap help">
			<li>
				<dl>
					<dt>消费者保障</dt>
					<dd>
						<a href="article_read.html">保障范围</a>
					</dd>
					<dd>
						<a href="article_read.html">退换货流程</a>
					</dd>
					<dd>
						<a href="article_read.html">服务中心</a>
					</dd>
					<dd>
						<a href="article_read.html">更多服务特色</a>
					</dd>
				</dl>
			</li>
			<li>
				<dl>
					<dt>新手上路</dt>
					<dd>
						<a href="article_read.html">保障范围</a>
					</dd>
					<dd>
						<a href="article_read.html">退换货流程</a>
					</dd>
					<dd>
						<a href="article_read.html">服务中心</a>
					</dd>
					<dd>
						<a href="article_read.html">更多服务特色</a>
					</dd>
				</dl>
			</li>
			<li>
				<dl>
					<dt>付款方式</dt>
					<dd>
						<a href="article_read.html">保障范围</a>
					</dd>
					<dd>
						<a href="article_read.html">退换货流程</a>
					</dd>
					<dd>
						<a href="article_read.html">服务中心</a>
					</dd>
					<dd>
						<a href="article_read.html">更多服务特色</a>
					</dd>
				</dl>
			</li>
			<li>
				<dl>
					<dt>服务保障</dt>
					<dd>
						<a href="article_read.html">保障范围</a>
					</dd>
					<dd>
						<a href="article_read.html">退换货流程</a>
					</dd>
					<dd>
						<a href="article_read.html">服务中心</a>
					</dd>
					<dd>
						<a href="article_read.html">更多服务特色</a>
					</dd>
				</dl>
			</li>
		</ul>
		<dl class="wrap otherLink">
			<dt>友情链接</dt>
			<dd>
				<a href="http://www.17sucai.com" target="_blank">17素材</a>
			</dd>
			<dd>
				<a href="http://www.17sucai.com/pins/24448.html">HTML5模块化后台管理模板</a>
			</dd>
			<dd>
				<a href="http://www.17sucai.com/pins/15966.html">绿色清爽后台管理系统模板</a>
			</dd>
			<dd>
				<a href="http://www.17sucai.com/pins/14931.html">黑色的cms商城网站后台管理模板</a>
			</dd>
			<dd>
				<a href="http://www.deathghost.cn" target="_blank">前端博客</a>
			</dd>
			<dd>
				<a href="http://www.deathghost.cn" target="_blank">博客</a>
			</dd>
			<dd>
				<a href="http://www.deathghost.cn" target="_blank">新码笔记</a>
			</dd>
			<dd>
				<a href="http://www.deathghost.cn" target="_blank">DethGhost</a>
			</dd>
			<dd>
				<a href="#">当当</a>
			</dd>
			<dd>
				<a href="#">优酷</a>
			</dd>
			<dd>
				<a href="#">土豆</a>
			</dd>
			<dd>
				<a href="#">新浪</a>
			</dd>
			<dd>
				<a href="#">钉钉</a>
			</dd>
			<dd>
				<a href="#">支付宝</a>
			</dd>
		</dl>
		<div class="wrap btmInfor">
			<p>© 2013 DeathGhost.cn 版权所有 网络文化经营许可证：浙网文[2013]***-027号 增值电信业务经营许可证：浙B2-200***24-1 信息网络传播视听节目许可证：1109***4号</p>
			<address>联系地址：陕西省西安市雁塔区XXX号</address>
		</div>
	</footer>
</body>
<script type="text/javascript" src="assert/jquery/jquery-3.4.1.js"></script>
<script type="text/javascript" src="assert/pagejs/address.js"></script>
<script type="text/javascript" src="assert/pagejs/address_add.js"></script>
</html>